package com.server.llh.llhserverwork.activity.query;

import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.view.WindowManager;
import android.widget.ImageButton;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.lelaohui.net.BaseLeLaohuiAcitivity;
import com.lelaohui.net.netmanager.INetRequestManager;
import com.lelaohui.net.netmanager.NetRequestManager;
import com.llh.llhsuppliers.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by ZTF on 2017-07-14.
 */

public class QueryCateringInfoActivity extends BaseLeLaohuiAcitivity {
    @BindView(R.id.titleName)
    TextView titleName;
    @BindView(R.id.main_back)
    ImageButton mainBack;
    @BindView(R.id.leftBtn_RL_title_base)
    RelativeLayout leftBtnRLTitleBase;
    @BindView(R.id.serverName)
    TextView serverName;
    @BindView(R.id.linearLayout1)
    LinearLayout linearLayout1;
    @BindView(R.id.order_list)
    ListView orderList;
//    @BindView(R.id.refresh_data)
//    SwipeRefreshLayout refreshData;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
        getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);

        titleName.setText("餐饮流水");
    }
    @Override
    public void showProgress() {
        try{
            showProgress(QueryCateringInfoActivity.this);
        }catch (Exception e){

        }
    }

    @Override
    public void hideProgress() {
        try{
          closeProgress();
        }catch (Exception e){

        }
    }

    @Override
    protected int getlayout() {
        return R.layout.llh_my_list;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void doBasess() {

    }

    @Override
    protected INetRequestManager getRequestManager() {
        return NetRequestManager.getInstance();
    }


    @OnClick(R.id.main_back)
    public void onViewClicked() {
        onBackPressed();
    }
}
